And its cousin, gdk_surface_move_resize.
These APIs are expecting global coordinates,
which are going away. GTK is not using them
anymore.
gdk_surface_set_keep_above
gdk_surface_set_keep_below
gdk_surface_set_opacity
-gdk_surface_move
gdk_surface_resize
-gdk_surface_move_resize
gdk_surface_move_to_rect
gdk_surface_raise
gdk_surface_lower
gint *width,
gint *height);
+void gdk_surface_move (GdkSurface *surface,
+ gint x,
+ gint y);
+
+void gdk_surface_move_resize (GdkSurface *surface,
+ gint x,
+ gint y,
+ gint width,
+ gint height);
G_END_DECLS
-/**
+/*
* gdk_surface_move:
* @surface: a #GdkSurface
* @x: X coordinate relative to surface’s parent
* use gtk_window_resize() instead of this low-level GDK function.
*
* Surfaces may not be resized below 1x1.
- *
- * If you’re also planning to move the surface, use gdk_surface_move_resize()
- * to both move and resize simultaneously, for a nicer visual effect.
- **/
+ */
void
gdk_surface_resize (GdkSurface *surface,
gint width,
}
-/**
+/*
* gdk_surface_move_resize:
* @surface: a #GdkSurface
* @x: new X position relative to surface’s parent
void gdk_surface_hide (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
void gdk_surface_show_unraised (GdkSurface *surface);
-
-GDK_AVAILABLE_IN_ALL
-void gdk_surface_move (GdkSurface *surface,
- gint x,
- gint y);
GDK_AVAILABLE_IN_ALL
void gdk_surface_resize (GdkSurface *surface,
gint width,
gint height);
GDK_AVAILABLE_IN_ALL
-void gdk_surface_move_resize (GdkSurface *surface,
- gint x,
- gint y,
- gint width,
- gint height);
-GDK_AVAILABLE_IN_ALL
void gdk_surface_move_to_rect (GdkSurface *surface,
const GdkRectangle *rect,
GdkGravity rect_anchor,